* This do-file runs the regressions of the observational study in section 4 of the paper based on data from EVS

* Log file	

log using "replication_obs_evidence_evs_logfile.log", replace

* Import data

use ".\replication_observational_evidence_evs", replace


*** FIGURE 1

** To reproduce figure 1, run the R code figure1_evs.



*** APPENDIX

*** Regressions Cultural attitudes on import shock, as in Table D2

** Table D2, column 1. Dependent variable: Strong leader

ivreg2 strong_ldr (import_shock=instrument_shock) female age CY* EDU* [pweight=S017], first savefirst	

** Table D2, column 2. Dependent variable: Democracy

ivreg2 dmcrcy_ps (import_shock=instrument_shock) female age CY* EDU* [pweight=S017], first savefirst	


** Table D2, column 3. Dependent variable: Democratic index

ivreg2 antidem (import_shock=instrument_shock) female age CY* EDU* [pweight=S017], first savefirst	

** Table D2, column 4. Dependent variable: Children qualities

ivreg2 child_qualities (import_shock=instrument_shock) female age CY* EDU* [pweight=S017], first savefirst	

** Table D2, column 5. Dependent variable: Abortion

ivreg2 abortion (import_shock=instrument_shock) female age CY* EDU* [pweight=S017], first savefirst	




*** Descriptive statistics, as in table D.3 (EVS variables)

sum strong_ldr dmcrcy_ps antidem child_qualities abortion


* close log file

log close